package com.util.annotate.demo.service;

import java.lang.annotation.*;

/**
 *  自定义注解，读取配置文件内容
 */
@Target({ ElementType.FIELD, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ReadConf {
    /**
     * read config.properties context eg: key = value
     * @return
     */
    String value();
}
